﻿using A.M.Storage.Application;
using Q.M.Finance.Application.IServices;
using Q.M.Finance.Domain.Entity;
using Q.M.Finance.Infrastruecure.IRepository;
using Q.M.Finance.Infrastruecure.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Q.M.Finance.Application.Services
{
    public class Expenditure_typeServices : BaseServices<expenditure_type, string>, IExpenditure_typeServices
    {
        private readonly IExpenditure_typeRepository expenditure_TypeRepository;
        public Expenditure_typeServices(IExpenditure_typeRepository expenditure_TypeRepository) : base(expenditure_TypeRepository)
        {
            this.expenditure_TypeRepository = expenditure_TypeRepository;
        }
        /// <summary>
        /// 显示支出类型表
        /// </summary>
        /// <returns></returns>
        public List<expenditure_type> Getexpenditure_type()
        {
            return expenditure_TypeRepository.GetShowInfor().ToList();
        }

    }
}
